home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / util / cli / getdate.readme < prev    next >
Encoding:
Text File  |  1999-09-06  |  964 b   |  28 lines

  1. Short:    Prints "big-endian" date
  2. Author:   Matthias.Bethke@gmx.net
  3. Uploader: Matthias.Bethke@gmx.net
  4. Type:     util/cli
  5.  
  6.  
  7. This is a tiny tool that just prints a "big-endian" (year first to simplify
  8. sorting) date/time string. It is meant for use in scripts, particularily
  9. those called as cron jobs.
  10. "getdate" without an argument prints the date as yyyymmdd, giving the
  11. "Time" argument makes it (tadaaa!) print date and time as yyyymmddhhMMss.
  12. Example:
  13.     mv YAM.log YAM_`getdate`.log
  14.  
  15. Status: Public Domain
  16. Source: included
  17.  
  18.  
  19. ============================= Archive contents =============================
  20.  
  21. Original  Packed Ratio    Date     Time    Name
  22. -------- ------- ----- --------- --------  -------------
  23.      523     325 37.8% 11-Jul-99 22:48:18  getdate.readme
  24.      552     396 28.2% 11-Jul-99 22:39:38 +getdate
  25.     1368     626 54.2% 11-Jul-99 22:39:44 +getdate.c
  26. -------- ------- ----- --------- --------
  27.     2443    1347 44.8% 12-Jul-99 04:43:46   3 files
  28.